package org.ltt.rbac.utils;

public class StringUtils {

    /**
     * 判断字符串是否为空
     * @param str
     * @return
     */
    public static boolean isEmpty(String str) {
        return str == null || str.trim().isEmpty();
    }


    public static void main(String[] args) {
        String test = "qdf ";
        System.out.println("是否为空 = " + isEmpty(test));
    }
}
